package cn.com.surker.enums.system;

/**
 * @Author lucky
 * @create 2021年02月25 13:35
 * @desc
 */

import cn.com.surker.enums.IDescription;

/**
 * 菜单枚举
 */
public enum MenuEnum implements IDescription {

    MOBILE(0,"手机端"),
    ADMIN(1,"后台管理"),
    PC(2,"PC端"),
    OA_ADMIN(3,"OA后台菜单"),
    OA_MOBILE(4,"OA手机端"),
    ERP_ADMIN(5,"ERP后台菜单"),
    PC_ADMIN(6,"PCP后台菜单")
    ;

    private final String description;

    private final Integer code;

    MenuEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}
